package org.sjs.dreamfly.network.api

import org.sjs.dreamfly.model.ixigua.iXiGuaResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Query

interface IXiGuaApi {
    @GET("api/channel/getMaterialConfig")
    fun loadMovieHome(
        @Header("Referer") referer: String,
        @Query("pinyin") channelType: String,
//        @Query("aid") aid: Int = 1768,
//        @Query("msToken") msToken: String = "DX6JCWjyKOtw74cI_c8rV88JNBrUFaZsoJuY1Z_DlP8YnYSbLK3_uiEEw2agH7jUvuzX8wupbh-aGg93UuhVIaVtFz6mK5RGdD1Co1SvzXlNRdDowXDoztkrjlBAkQ==",
//        @Query("X-Bogus") X_Bogus: String = "DFSzswVOTs0ANcrmtjjBIlm4pIpk",
//        @Query("_signature") _signature: String = "_02B4Z6wo0000174IYJQAAIDDJmP35fvIt6u-CGQAAItDRZqpvB2j122MxqdYaKxSTR83EEDA0nyNhGDy.0H-YXHNmNHxrPSaYbNXZQG1Ze1I0mayt.n5LhNKZKlF3NWs7DqvMfOdYTCoajHO1a",
    ): Call<iXiGuaResponse>

    @GET("/api/cinema/feed/feedById")
    fun loadMovieFeed(
        @Header("Referer") referer: String,
        @Query("channelId") channelId: Long,
        @Query("offset") offset: Int = 1,
        @Query("limit") limit: Int = 12,
        @Query("queryCount") queryCount: Int = 4,
//        @Query("request_from") requestFrom: Int = 702,
//        @Query("aid") aid: Int = 1768,
//        @Query("msToken") msToken: String = "JVBC6LbAxqk4AX2cDIWP4O4JjcIcVqzN0EVA2Fvns2ZRkTZOKPzBdLLTSTBZLmJ4Gq6aW4NIPZo0Dus33yW6JLFAzf0ZPTIGdz2fRt60UnnP9P2",
//        @Query("X-Bogus") bogus: String = "DFSzswVuw2xANStBtHk9gFm4pIdY",
//        @Query("_signature") signature: String = "_02B4Z6wo00001x6XexgAAIDDhvzsazS1PMsel3-AAKNrayZow-lj2PoDFITA9wbb5vOnJPnIL3KqEleLg9SSGTzeSmGugLXagPGtNs0pCFUl.H4mzWX7FerVzV6Pzd3Vh8SpNs4.jgaWma2be6",
    ): Call<iXiGuaResponse>
}